package com.neusoft.a312cxy.android18cxy.service;

import com.neusoft.a312cxy.android18cxy.bean.ShaiTuInfo;
import com.neusoft.a312cxy.android18cxy.bean.ShaiTuListBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Young on 2017/10/10.
 */
public interface ShaiTuService {

    @GET("lists")
    Call<List<ShaiTuListBean>> getShaiTuList(
            @Query("SessionID") String sessionId,
            @Query("page") int page
    );
    @GET("slists/mod/shaireply/")
    Call<List<ShaiTuInfo>> getShaiTuInfo(
            @Query("related") int related,
            @Query("shaitu_id") String shaitu_id

    );
    @GET("create/mod/shaireply")
    Call<String> getshaireply(
            @Query("shaitu_id") String shaitu_id,
            @Query("userid") String userid,
            @Query("reply_userid") String reply_userid,
            @Query("reply") String reply


    );

    @GET("fcreate/mod/shaitu/")
    Call<String> addpic(
            @Query("thumb") String thumb,
            @Query("userid") String userid,
            @Query("title") String title,
            @Query("club_id") String club_id

    );
}
